home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
cuj9303.zip
/
1103110A
< prev
next >
Wrap
Text File
|
1993-06-21
|
393b
|
19 lines
// fv1.cpp - a dynamic vector of float (with a possibly
// non-zero low-bound) using a subscripting object
#include "fv1.h"
#include <assert.h>
float float_vector::operator[](int i) const
{
assert(i >= low());
return float_array::operator[](i - low());
}
fa_index float_vector::operator[](int i)
{
assert(i >= low());
return float_array::operator[](i - low());
}